Document File
An object of class Document File is a document file on a disk.PROPERTIES
A document file has all the properties defined for object class File on page 60: Creator Type, File Type, Locked, Product Version, Stationery, and Version.Like any other file, a document file also has all the properties defined for object class Item on page 72: Bounds, Comment, Container, Content Space, Creation Date, Disk, Folder, Icon, ID, Information Window, Kind, Label Index, Modification Date, Name, Physical Size, Position, Selected, Size, and Window.
ELEMENT CLASSES
NoneCOMMANDS HANDLED
Clean Up, Copy, Count, Data Size, Delete, Duplicate, Exists, Get, Move, Open, Print, Put Away, Reveal, Select, Sort, UpdateDEFAULT VALUE CLASS RETURNED
Reference to a file or, if you use the plural formdocument files
, a list of references.EXAMPLE
This script opens all the document files at the top level of a disk:
tell application "Finder" open document files in window "My World"end tellApplication files, desk accessories, suitcases, and other nondocument files
are ignored.